#include <iostream>
using namespace std;

void f(int& a)
{
	cout<<" A = "<< a<<endl;
	a = 5;
	cout<<"A = "<< &a<<endl;
}



int main(void)
{
	int x = 47;
	cout<<"X = "<< x<<endl;
	f(x);

	cout<<"&x = "<< &x<<endl;
}